package com.jinsilu.freight.http.request;

import com.hjq.http.config.IRequestApi;

/**
 * 行驶证认证
 *
 * {
 * description:
 * 我的认证-提交行驶证认证信息
 *
 * approvedLoad	string
 * 核定载重质量
 *
 * drivingLicenseFrontUrl	string
 * 行驶证正页图片
 *
 * drivingLicenseIdCode	string
 * 车辆识别号码
 *
 * drivingLicenseReverseUrl	string
 * 行驶证副页图片
 *
 * energyType	string
 * 发动机类型
 *
 * engineNumber	string
 * 发动机编号
 *
 * grossMass	string
 * 总质量
 *
 * issueDate	string
 * 签发日期
 *
 * issuingAuthority	string
 * 发证机关
 *
 * licensePlateColor	string
 * 车牌颜色
 *
 * licensePlateColorCode	string
 * 车牌颜色编码
 *
 * plateNumber	string
 * 车号
 *
 * registerDate	string
 * 注册日期
 *
 * useCharacter	string
 * 车辆用途
 *
 * validityEndDate	string
 * 有效期止
 *
 * vehicleModel	string
 * 车辆型号
 *
 * vehicleOwner	string
 * 车辆所属人
 *
 * vehicleType	string
 * 车辆类型
 *
 * }
 *
 * @author yangyang
 * @time 2020-11-19 11:15
 */
public class VerifyVehicleLicenseApi implements IRequestApi {

    //行驶证正面图片
    private String drivingLicenseFrontUrl;

    //行驶证反面图片
    private String drivingLicenseReverseUrl;

    //车号
    private String plateNumber;

    //车辆识别号码
    private String drivingLicenseIdCode;

    //车牌颜色
    private String licensePlateColor;

    //车牌颜色编码
    private String licensePlateColorCode;

    //发证机关
    private String issuingAuthority;

    //车辆所属人
    private String vehicleOwner;

    //发动机编号
    private String engineNumber;

    //车辆类型
    private String vehicleType;

    //发动机类型
    private String energyType;

    //注册日期
    private String registerDate;

    //签发日期
    private String issueDate;

    //车辆用途
    private String useCharacter;

    //车辆型号
    private String vehicleModel;

    //有效期止
    private String validityEndDate;

    //核定载重质量[kg]
    private String approvedLoad;

    //总质量[kg]
    private String grossMass;

    //车辆长度
    private String vehicleLength;

    //车辆长度编码
    private String vehicleLengthCode;

    //车架号
    private String vehicleFrameNumber;

    //车头照片
    private String vehicleFrontPhoto;

    @Override
    public String getApi() {
        return "api/certification/default/vehicleLicense";
    }

    public VerifyVehicleLicenseApi setDrivingLicenseFrontUrl(String drivingLicenseFrontUrl) {
        this.drivingLicenseFrontUrl = drivingLicenseFrontUrl;
        return this;
    }

    public VerifyVehicleLicenseApi setDrivingLicenseReverseUrl(String drivingLicenseReverseUrl) {
        this.drivingLicenseReverseUrl = drivingLicenseReverseUrl;
        return this;
    }

    public VerifyVehicleLicenseApi setPlateNumber(String plateNumber) {
        this.plateNumber = plateNumber;
        return this;
    }

    public VerifyVehicleLicenseApi setDrivingLicenseIdCode(String drivingLicenseIdCode) {
        this.drivingLicenseIdCode = drivingLicenseIdCode;
        return this;
    }

    public VerifyVehicleLicenseApi setLicensePlateColor(String licensePlateColor) {
        this.licensePlateColor = licensePlateColor;
        return this;
    }

    public VerifyVehicleLicenseApi setLicensePlateColorCode(String licensePlateColorCode) {
        this.licensePlateColorCode = licensePlateColorCode;
        return this;
    }

    public VerifyVehicleLicenseApi setIssuingAuthority(String issuingAuthority) {
        this.issuingAuthority = issuingAuthority;
        return this;
    }

    public VerifyVehicleLicenseApi setVehicleOwner(String vehicleOwner) {
        this.vehicleOwner = vehicleOwner;
        return this;
    }

    public VerifyVehicleLicenseApi setEngineNumber(String engineNumber) {
        this.engineNumber = engineNumber;
        return this;
    }

    public VerifyVehicleLicenseApi setVehicleType(String vehicleType) {
        this.vehicleType = vehicleType;
        return this;
    }

    public VerifyVehicleLicenseApi setEnergyType(String energyType) {
        this.energyType = energyType;
        return this;
    }

    public VerifyVehicleLicenseApi setRegisterDate(String registerDate) {
        this.registerDate = registerDate;
        return this;
    }

    public VerifyVehicleLicenseApi setIssueDate(String issueDate) {
        this.issueDate = issueDate;
        return this;
    }

    public VerifyVehicleLicenseApi setUseCharacter(String useCharacter) {
        this.useCharacter = useCharacter;
        return this;
    }

    public VerifyVehicleLicenseApi setVehicleModel(String vehicleModel) {
        this.vehicleModel = vehicleModel;
        return this;
    }

    public VerifyVehicleLicenseApi setValidityEndDate(String validityEndDate) {
        this.validityEndDate = validityEndDate;
        return this;
    }

    public VerifyVehicleLicenseApi setApprovedLoad(String approvedLoad) {
        this.approvedLoad = approvedLoad;
        return this;
    }

    public VerifyVehicleLicenseApi setGrossMass(String grossMass) {
        this.grossMass = grossMass;
        return this;
    }

    /**
     * 设置车辆长度
     */
    public VerifyVehicleLicenseApi setVehicleLength(String vehicleLength) {
        this.vehicleLength = vehicleLength;
        return this;
    }

    /**
     * 设置车辆长度编码
     */
    public VerifyVehicleLicenseApi setVehicleLengthCode(String vehicleLengthCode) {
        this.vehicleLengthCode = vehicleLengthCode;
        return this;
    }

    /**
     * 设置车架号
     */
    public VerifyVehicleLicenseApi setVehicleFrameNumber(String vehicleFrameNumber) {
        this.vehicleFrameNumber = vehicleFrameNumber;
        return this;
    }

    /**
     * 设置车头照片
     */
    public VerifyVehicleLicenseApi setVehicleFrontPhoto(String vehicleFrontPhoto) {
        this.vehicleFrontPhoto = vehicleFrontPhoto;
        return this;
    }
}
